Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use new find_package(CUDA Toolkit) #2250

Merged
merged 1 commit into from
Sep 13, 2024
Merged

Conversation

GlassOnTin
Copy link
Contributor

On current Ubuntu Noble, unable to compile against CUDA using default sdrbase/CMakeLists.txt due to unsupported find_package(CUDA 9.0).

Instead use:
https://cmake.org/cmake/help/latest/module/FindCUDAToolkit.html

See suggestions at:
https://stackoverflow.com/questions/68475502/c-with-cuda-project-in-cmake-gives-error-nvlink-fatal-could-not-open-input

Copy link

@srcejon
Copy link
Collaborator

srcejon commented Sep 11, 2024

Looks like that requires CMake 3.17 - Currently we have: cmake_minimum_required(VERSION 3.13.0) - So I guess that needs updating too.

@f4exb f4exb merged commit c03f8dc into f4exb:master Sep 13, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants